( )e ikx. ( ) = ˆq k

Size: px
Start display at page:

Download "( )e ikx. ( ) = ˆq k"

Transcription

1 ! Revised December 15, :57 PM! 1 Chapter 13: Spectral Methods Copyright 2015, David A. Randall Introduction Assume that q( x,t) is real and integrable. If the domain is periodic, with period L, we can express q( x,t) exactly by a Fourier series expansion: ( ) = ˆq k t q x,t ( )e ikx. k= (1) The complex coefficients ˆq k ( t) can be evaluated using ˆq k ( t) = 1 L x+l/2 q( x,t)e ikx dx. Recall that the proof of (1) and (2) involves use of the orthogonality condition x L/2 (2) where 1 L x+ L /2 e ikx e ilx dx = δ k,l, x L /2 (3) δ k,l 1, k = l 0, k l is the Kronecker delta. Eqs. (1) and (2) are a transform pair. They can be used to go back and forth between ordinary space and wave-number space. From (1), we see that the x -derivative of q satisfies (4)

2 ! Revised December 15, :57 PM! 2 q x,t ( )e ikx. ( ) = ik ˆq k t k= (5) Inspection of (5) shows that q should be clear. does not receive a contribution from ˆq 0 ; the reason for this A spectral model uses equations similar to (1), (2), and (5), but with a finite set of wave numbers, and with x defined on a finite mesh: n ( ) ˆq k t q x j,t ( )e ikx j, k= n ˆq k ( t) = 1 M M q ( x,t j )e ikx j, n k n, j=1 (6) (7) n ( ) ik ˆq k t q x j,t ( )e ikx j. k= n The sums in (6) and (8) are truncated in that they do not include wave numbers outside the range ±n. The value of n is chosen by the modeler. Note that we have used approximately equal signs in (6) and (8), but not in (7). The sum that appears in (7) is over a grid with M points. The relationship between M and n is discussed below. Apart from the effects of round-off error, the transform (6) is exactly reversible by the inverse transform (7), provided that M is large enough. Substitution of (6) into (7) gives ˆq k ( t) = 1 M n ˆq l ( t)e ilx j M l= n e ikx j for n k n. j=1 This is, of course, a rather circular substitution, but the result serves to clarify some basic ideas. If expanded, each term on the right-hand side of (9) involves the product of two wave numbers, l and k, each of which lies in the range n to n. The range for wave number l is explicitly spelled out in the inner sum on the right-hand side of (9); the range for wave number k is understood because, as indicated, we wish to evaluate the left-hand side of (9) for k in the range n to n. Because each term on the right-hand side of (9) involves the product of two Fourier (8) (9)

3 R k = R k (13)! Revised December 15, :57 PM! 3 modes with wave numbers in the range n to n, each term includes wave numbers up to ±2n. We therefore need 2n +1 complex coefficients, i.e., 2n +1 values of the q! k ( t). Because q is real, it must be true that ˆq k = ˆq k *, where the * denotes the conjugate. To see why this is so, consider the contributions of the +k and k coefficients to the sum in (6): (10) Τ k ( x j ) ˆq k t ( )e ikx j + ˆq k ( t)e ikx j R k e iθ e ikx j + R k e iµ e ikx j = R k e i ( θ+kx j ) + R k e i ( µ kx j ). (11) Here R k e iθ ˆq k ( t) and R k e iµ ˆq k t independence, our assumption that q x j,t Τ k ( x j ) must be zero, for all x j. It follows that ( ), and R k and R k are real and non-negative. By linear ( ) is real for all x j implies that the imaginary part of The only way to satisfy (12) for all x j is to set, R k sin ( θ + kx j ) + R k sin ( µ kx j ) = 0 for all x j. (12) and From (14), it follows that θ = µ. θ + kx j = ( µ kx j ) = µ + kx j. (14) Eq. (10) follows from (13) and (14). It implies that ˆq k and ˆq k together involve only two distinct real numbers, so that if you know the value of ˆq k you can immediately write down ˆq k. In addition, it follows from (10) that ˆq 0 is real. Therefore, the 2n +1 complex values of ˆq k embody the equivalent of only 2n +1 distinct real numbers. The Fourier representation up to

4 ! Revised December 15, :57 PM! 4 wave number n is thus equivalent to representing the real function q( x,t) on 2n +1 equally spaced grid points, in the sense that the information content is the same. We conclude that, in order to use a grid of M points to represent the amplitudes and phases of all waves up to k = ±n, we need M 2n + 1 ; we can use a grid with more than 2n +1 points, but not fewer. As a very simple example, a highly truncated Fourier representation of q, including just wave numbers zero and one, is equivalent to a grid-point representation of q using 3 grid points. The real values of q assigned at the three grid points suffice to compute the coefficient of wave number zero (i.e., the mean value of q ) and the phase and amplitude (or sine and cosine coefficients ) of wave number one. Substituting (7) into (8) gives q x l,t M q ( x,t j )e kx j e ikx l. k= n j=1 ( ) n M ik Reversing the order of summation leads to (15) q x l,t M ( ) α j ( ) l q x j,t, j=1 (16) where α j l i M n ke ik ( x l x j ). k= n The point of this little exercise is that (16) can be interpreted as a finite-difference approximation. It is a member of the family of approximations discussed many times in this course, but it is special in that it involves all grid points in the domain. From this point of view, spectral models can be regarded as a class of finite-difference models. Now consider the one-dimensional advection equation with a constant current, c: q t (17) = c q. (18) Substituting (6) and (8) into (18) gives

5 ! Revised December 15, :57 PM! 5 By linear independence, we obtain n n d ˆq k dt eikx = c ik ˆq k e ikx. k= n k= n (19) d ˆq k dt = ikc ˆq k for n k n. (20) Note that d ˆq 0 will be equal to zero; the interpretation of this should be clear. We can use (20) to dt predict ˆq k ( t). When we need to know q x j,t d ˆq k dt ( ), we can get it from (6). Compare (20) with ( ) kδx sin kδx = ikc ˆq k, which, as we have seen, is obtained by using centered second-order space differencing. The spectral method gives the exact advection speed for each Fourier mode, while the finite difference method gives a slower value. Similarly, spectral methods give the exact phase speeds for linear waves propagating through a uniform medium, while finite-difference methods generally underestimate the phase speeds. Keep in mind, however, that the spectral solution is not really exact, because only a finite number of modes are kept. In addition, the spectral method does not give the exact answer, even for individual Fourier modes, when the advection speed (or the phase speed) is spatially variable. Another strength of spectral methods is that they make it very easy to solve boundary value problems. As an example, consider (21) 2 q = f ( x, y), (22) as a problem to determine q for given f ( x, y). In one dimension, (22) becomes d 2 q dx = f ( x). 2 We assume periodic boundary conditions and compute the Fourier coefficients of both q and f, using (7). Then (23) can be written as (23)

6 ! Revised December 15, :57 PM! 6 n n ( k 2 ) ˆq k e ikx = ˆfk e ikx, k= n k= n (24) Invoking linear independence to equate coefficients of e ikx, we find that ˆq k = ˆf k k 2 for n k n (unless k = 0 ). (25) Eq. (25) can be used to obtain ˆq k, for k = 1,n. Then q( x) can be constructed using (6). This completes the solution of (23), apart from the application of an additional boundary condition to determine ˆq 0. The solution is exact for the modes that are included; it is approximate because not all modes are included. One issue with spectral models involves the representation of topography. In many models, e.g., those that use the sigma coordinate, it is necessary to take horizontal derivatives of the terrain height in order to evaluate the horizontal pressure gradient force. The terrain heights have to be expanded to compute spectral coefficients, and of course the expansion is truncated at some finite wave number. With bumpy continents and flat oceans, as schematically shown in Fig. 13.1, Fig. 13.1: The Earth is bumpy. truncation leads to bumpy oceans. Various approaches have been suggested to alleviate this problem (Hoskins, 1980; Navarra, et al., 1994; Boutelou, 1995; Holzer, 1996; Lindberg and Broccoli, 1996). Now consider a nonlinear problem, such as momentum advection, i.e., u t = u u, (26) again with a periodic domain. Fourier expansion gives

7 ! Revised December 15, :57 PM! 7 n n dû k = û l e ilx k= n dt eikx l= n n m= n imû m e imx. (27) Our goal is to predict û k ( t) for k in the range n to n. Wave numbers outside that range are excluded by the definition of our chosen truncation. The right-hand-side of (27) involves products of the form e ilx e imx, where l and m are in the range n to n. These products can generate new wave numbers, some of which lie outside the range n to n. Those that lie outside this range are simply neglected, i.e., they are not included when we evaluate the left-hand side of (27). For a given Fourier mode, (27) implies that dû k dt α α = im û l û m e i l+m l= α m= α ( )x e ikx, for n k n. Here the quantity in curly braces is a sum over wave numbers and is therefore defined at grid points. The summations on the right-hand side of (29) are over the range ±α. We must choose α large enough so that we pick up all possible combinations of l and m that lie in the range n to n. See Fig The circled X s in the figure denote excluded triangular regions. The number of points in each triangular region is n 1 The number of points retained is therefore given by ( ) ( ) = n( n 1) ( 2n +1) 2 2 n n 1 = 4n 2 + 4n ( ) ( n 2 n) = 3n 2 + 5n +1. This is the number of terms that must be evaluated in (27). The number of terms in the product of sums on the right-hand-side of (27) is thus of order n 2, i.e., it grows very rapidly as n increases. The amount of computation therefore grows rapidly as n increases, and of course the problem is twice as hard in two dimensions. At first, this poor scaling with problem size appeared to make. (28) (29) (30) (31)

8 ! Revised December 15, :57 PM! 8 spectral methods prohibitively expensive for nonlinear (i.e., realistic) problems. Note that the same issue would arise in a linear problem with spatially variable coefficients. Fig. 13.2: Cartoon table of l + m, showing which ( l,m) pairs can contribute to wave numbers k in the range n to n in Eq. (29). The pairs in the triangular regions marked by X s do not contribute. A way around this practical difficulty was proposed by Orszag, and independently by Eliassen et al., both in They suggested a transform method in which (6) and (8) are used to evaluate both u and u transform the result back into wavenumber space. on a grid. We then compute the produce u u on the grid, and We can obtain an exact result exact up to wave number n by making the number of grid points used large enough to allow the exact representation, for wave numbers in the range n to n, of quadratic nonlinearities like u u. Of course, here exact means exact up to wave number n. Because the solution is exact for wave numbers up to n, there is no error for those wave numbers, and in particular, there is no aliasing error. Therefore, a model of this type is not subject to aliasing instability arising from quadratic terms like u u. Aliasing can still arise, however, from cubic or higher-order nonlinearities. To investigate the transform method, we proceed as follows. By analogy with (7), we can write

9 ! Revised December 15, :57 PM! 9 u u k ( ) u ( ) = 1 M u x j M x j e ikx j, n k n. j=1 (32) Here we are computing the spectral coefficients of the product u u u x j, by starting from ( ) u ( ), which is the grid-point representation of the same quantity. Using (6) and (8), we x j can express u x j ( ) and u ( ) in terms of Fourier series: u u k x j = 1 M n û l e ilx n j M l = n imû m e mx j m= n e ikx j, n k n. j =1 It is important to note that, in (33), the derivative, i.e., u (33), has been computed using the spectral method, rather than a grid-point method. The grid is being used to allow efficient implementation of the spectral method. Eq. (33) is analogous to (9). When expanded, each term on the right-hand side of (33) involves the product of three Fourier modes (k, l, and m), and therefore includes zonal wave numbers up to ±3n. We need 3n +1 complex coefficients to encompass wave numbers up to ±3n. Because u u is real, those 3n +1 complex coefficients actually correspond to 3n +1 independent real numbers. Therefore, we need grid points to represent u u M 3n + 1 (34) exactly, up to wave number n. This is about 50% more than the 2n +1 grid points needed to represent u itself exactly up to wave number n. This larger grid is sometimes called a non-aliasing grid. In practice, the transform method to solve (26) works as follows: 1. Initialize the spectral coefficients û k, for n k n. This would normally be done by using measurements of u to initialize u on a grid, and then using a transform to obtain the spectral coefficients.

10 ! Revised December 15, :57 PM! Evaluate both u and u on a grid with M points, where M 3n + 1. Here u computed using the spectral method, i.e., Eq. (8), and the result obtained is used to compute grid-point values of u. is 3. Form the product u u on the grid. 4. Using (33), transform u u! coefficients u u. k back into wave-number space, for n k n. This gives the 5. Predict new values of the û k, using dû k dt! = u u k. 6. Return to Step 2, and repeat this cycle as many times as desired. Note that the grid-point representation of u contains more information ( 3n +1 real values) than the spectral representation ( 2n +1 real values). For this one-dimensional example the ratio is approximately 3/2. The additional information embodied in the grid-point representation is thrown away in Step 4 above, when we transform from the grid back into wave-number space. Therefore, the additional information is not remembered from one time step to the next. In effect, we throw away about 1/3 of the information that is represented on the grid. This is the price that we pay to avoid errors (for wave numbers up to ±n ) in the evaluation of quadratic nonlinearities. As illustrated above, the transform method uses a grid to evaluate quadratic nonlinearities. The same grid is used to implement complicated and often highly nonlinear physical parameterizations. The transform method was revolutionary; it made spectral models a practical possibility. Spectral methods on the sphere Spectral methods on the sphere were first advocated by Silberman (1954). A function F that is defined on the sphere can be represented by where the ( ) = F m n Y m n ( λ,ϕ) F λ,ϕ, m= n= m (35)

11 ! Revised December 15, :57 PM! 11 Y n m ( λ,ϕ) = e imλ P m n sinϕ ( ) (36) are spherical harmonics, and the P m n ( sinϕ ) are the associated Legendre functions of the first kind, which satisfy P n m ( 2n)! ( x) = 2 n n! ( n m)! + n m ( 1 x2 ) m 2 x n m n m ( )( n m 1) 2( 2n 1) ( )( n m 1) ( n m 2) ( n m 3) 2 4( 2n 1) ( 2n 3) x n m 2 x n m 4. (37) Here m is the zonal wave number and n m is the meridional nodal number. As discussed in m the Appendix on spherical harmonics, it has to be true that n m. The spherical harmonics Y n are the eigenfunctions of the Laplacian on the sphere: ( ) a 2 n n +1 2 Y m n = Y m n. Here a is the radius of the sphere. See the Appendix for further explanation. (38) We can approximate F by a truncated sum: F = M N ( m) F m m n Y n. m= M n= m (39) Here the overbar indicates that F is an approximation to F. Recall that m is the zonal wave number. In (39), the sum over m from M to M ensures that F is real. The choice of N m ( ) is discussed below. For smooth F, F converges to F very quickly, in the sense that the rootmean-square error decreases quickly towards zero. Why should we expand our variables in terms of the eigenfunctions of the Laplacian on the sphere? The Fourier representation discussed earlier is also based on the eigenfunctions of the Laplacian, in just one dimension, i.e., sines and cosines. There are infinitely many differential operators. What is so special about the Laplacian? A justification is that: The Laplacian consumes scalars and returns scalars, unlike, for example, the gradient, the curl, or the divergence; The Laplacian can be defined without reference to any coordinate system;

12 ! Revised December 15, :57 PM! 12 The Laplacian is isotropic, i.e., it does not favor any particular direction on the sphere; The Laplacian is simple. How should we choose N ( m)? This is called the problem of truncation. The two bestknown possibilities are rhomboidal truncation and triangular truncation. In both cases, we can choose the value of M, i.e., the highest zonal wave number to be included in the model, and the value of N follows. Rhomboidal truncation: N = M + m, and Triangular truncation: N = M. (40) (41) Fig. 13.3: Rhomboidal and triangular truncation, both illustrated for the case M = 4. From Jarraud and Simmons (1983). In both cases, n m. For a given value of M, rhomboidal truncation includes more spherical harmonics than triangular truncation. Rhomboidal and triangular truncation are illustrated in Fig With rhomboidal truncation, the value of N (the maximum value of n to be included in the sum) increases with the value of m, in such a way that the highest meridional nodal number is the same for all values of m. In the case of triangular truncation, the two-dimensional wave number N is a the same for all of the spherical harmonics that are included in the model, so the highest meridional nodal number is smaller for the larger values of m. The figure also shows that, for a given value of M, rhomboidal truncation includes more spectral coefficients than triangular truncation. The numbers of complex coefficients needed are

13 ! Revised December 15, :57 PM! 13 and ( M +1) 2 + M 2 + M for rhomboidal truncation, (42) ( M +1) 2 for triangular truncation. You can count the x s in Fig to persuade yourself that these formulas are correct. (43) Finally, the figure shows that, with both types of truncation, choosing the value of M is enough to determine which spectral coefficients are included. It is conventional to designate the resolution of a spectral model by designating the type of truncation by R or T, and appending the value of M, as in T106. The equivalent grid-point resolution is discussed later in this chapter. Triangular truncation has the beautiful property that it is not tied to a coordinate system, in the following sense: In order to actually perform a spherical harmonic transform, it is necessary to adopt a spherical coordinate system ( λ,ϕ). There are, of course, infinitely many such systems, which differ in the orientations of their poles. There is no reason, in principle, that the coordinates have to be chosen in the conventional way, in which the poles of the coordinate system coincide with the Earth s poles of rotation. The choice of a particular spherical coordinate system is, therefore, somewhat arbitrary. Suppose that we are given an analytical function on the sphere. We choose two different spherical coordinate systems (tilted with respect to one another in an arbitrary way), perform a triangularly truncated expansion in both, and then transform the results back to physical space. It can be shown that the two results will be identical, i.e., F( λ 1,ϕ 1 ) = F( λ 2,ϕ 2 ), where the subscripts indicate alternative spherical coordinate systems. This means that the arbitrary orientations of the spherical coordinate systems used have no effect whatsoever on the results obtained. The coordinate system used disappears at the end. Triangular truncation is very widely used today, in part because of this nice property, which is not shared by rhomboidal truncation.. As shown in Fig. 13.4, triangular truncation represents the observed kinetic energy spectrum more efficiently than does rhomboidal truncation (Baer, 1972). The thick lines in the figure show the observed kinetic energy percentage that comes from each component. The thin, straight, diagonal lines show the modes kept with triangular truncation. With rhomboidal truncation the thin lines would be horizontal, and more modes would be kept, but they would not add much useful information. (44)

14 ! Revised December 15, :57 PM! 14 In order to use (39), we need a spherical harmonic transform, analogous to a Fourier transform. From (36), we see that a spherical harmonic transform is equivalent to the combination of a Fourier transform and a Legendre transform. The Legendre transform is formulated using a classical method called Gaussian quadrature. The idea is as follows. Suppose that we are given a function f ( x) defined on the interval 1 x 1, and we wish to evaluate 1 I = f ( x)dx, 1 by a numerical method. If f ( x) is defined at a finite number of points, denoted by x j, then (45) where the w i are weights. N I f ( x i )w i, i=1 (46) Fig. 13.4: Percentage of total kinetic energy in each spectral component. From Jarraud and Simmons (1983), based on Baer (1972). Consider the special case in which f ( x) is itself a weighted sum of Legendre polynomials, as in a Legendre transform. We want the transform to be exact, within the round-off error of

15 ! Revised December 15, :57 PM! 15 the machine, so that we can recover f ( x) without error. Gauss showed that for such a case (44) gives the exact value of I, provided that the x i are chosen to be the roots of the highest Legendre polynomial used. In other words, we can use (44) to evaluate the integral (43) exactly, provided that we choose the latitudes so that they are the roots of the highest Legendre polynomial used. These latitudes can be found by a variety of iterative methods, and of course this only has to be done once, before the model is run. The Gaussian quadrature algorithm is used to perform the Legendre transform. With the transform method described earlier, the number of grid points needed to avoid errors in the evalution of quadratic nonlinearities exceeds the number of degrees of freedom in the spectral representation. The number of grid points around a latitude circle must be 3M + 1. ( ) The number of latitude circles must be 3M + 1 for triangular truncation, and so the total 2 number of grid points needed is ( 3M + 1)2. Referring back to (46), we see that, for large M, 2 the grid representation uses about 2.25 times as many equivalent real numbers as the triangularly truncated spectral representation. A similar conclusion holds for rhomboidal truncation. Computing the physics on a nonaliasing grid is standard procedure, but wasteful. In summary, the spectral transform method as it is applied to global models works as follows: First, we choose a spectral truncation, e.g., T42. Then we identify the number of grid points needed in the longitudinal and latitudinal directions, perhaps with a view to avoiding aliasing due to quadratic nonlinearities. Next, we identify the highest degree Legendre polynomial needed with the chosen spectral truncation, and find the latitudes where the roots of that polynomial occur. These are called the Gaussian latitudes. At this point, we can set up our Gaussian grid. The horizontal derivatives are evaluated in the spectral domain, essentially through multiplication by wave number. When we transform from the spectral domain to the grid, we combine an inverse fast Fourier transform with an inverse Legendre transform. The nonlinear terms and the model physics are computed on the grid. Then we use the Legendre and Fourier transforms to return to the spectral domain. The basic logic of this procedure is the very similar to that described earlier for the simple one-dimensional case. We have a fast Fourier transform, but no one has yet discovered a fast Legendre transform, although some recent work points towards one. Lacking a fast Legendre transform, the operation count for a spectral model is of O N 3 harmonics used. Finite difference methods are, in effect, of O N 2 ( ), where N is the number of spherical ( ). This means that spectral

16 ! Revised December 15, :57 PM! 16 models become increasingly expensive, relative to grid-point models, at high resolution. Further comments are given later in this chapter. The equivalent grid resolution of spectral models Laprise (1992) distinguishes four possible ways to answer the following very natural question: What is the equivalent grid-spacing of a spectral model? 1. One might argue that the effective grid spacing of a spectral model is the average distance between latitudes on the Gaussian grid. With triangular truncation, this is the same as the spacing between longitudes at the Equator, which is L 1 = 2πa. Given the radius of the 3M + 1 Earth, and using units of thousands of kilometers, this is equivalent to 13.5 / M. For a T31 model (with M = 31 ), we get L km. An objection to this measure is that, as discussed above, much of the information on the Gaussian grid is thrown away when we transform back into spectral space. 2. A second possible measure of resolution is half the wavelength of the shortest resolved zonal wave at the Equator, which is L 2 = πa, or about 20 / M in units of thousands of M kilometers. For a T31 model, L km. 3. A third method is based on the idea that the spectral coefficients, which are the prognostic variables of the spectral model, can be thought of as a certain number of real variables per unit area, distributed over the Earth. A triangularly truncated model has the equivalent of ( M + 1) 2 real coefficients. The corresponding resolution is then L 3 = 4πa 2 ( M + 1) = 2 π a, which works out to about 725 km for a T31 model. 2 M A fourth measure of resolution is based on the equivalent total wave number associated with the Laplacian operator, for the highest mode. The square of this total wave number is Κ 2 = M ( M + 1). Suppose that we equate this to the square of the equivalent total wave number 2a 2 on a square grid, i.e. Κ 2 = k x 2 + k y 2 corresponding wavelength is L 4 = π k =, and let k x = k y = k for simplicity. One half of the 2πa M thousands of kilometers. For a T31 model this gives about 900 km., which is equivalent to 28.3 / M in units of

17 ! Revised December 15, :57 PM! 17 These four measures of spectral resolution range over more than a factor of two. The measure that makes a spectral model look good is L 1, and so it is not surprising that spectral modelers almost always use it when specifying the equivalent grid spacing of their models. Semi-implicit time differencing As we have already discussed in Chapters 5 and 8, gravity waves limit the time step that can be used in a primitive-equation (or shallow water) model. A way to get around this is to use semi-implicit time differencing, in which the gravity wave terms of the equations are treated implicitly, while the other terms are treated explicitly. This can be accomplished much more easily in a spectral model than in a finite-difference model. A detailed discussion of this approach will not be given here, but the basic ideas are as follows. The relevant terms are the pressure-gradient terms of the horizontal equations of motion, and the mass convergence term of the continuity equation. These are the same terms that we focused on in the discussion of the pole problem, in Chapter 11. The terms involve horizontal derivatives of the height field and the winds, respectively. Typically the Coriolis terms are also included, so that the waves in question are inertia-gravity waves. Consider a finite-difference model. If we implicitly difference the gravity-wave terms, the resulting equations will involve the n +1 time-level values of the heights and the winds at multiple grid points in the horizontal. This means that we must solve simultaneously for the new values of the heights and winds. Such problems can be solved, of course, but they can be computationally expensive. For this reason, most finite-difference models do not use semiimplicit time differencing. In spectral models, on the other hand, we prognose the spectral coefficients of the heights and winds, and so we can apply the gradient and divergence operators simply by multiplying by wave number (roughly speaking). This is a local operation in wave-number space, so it is not necessary to solve a system of simultaneous equations. The use of semi-implicit time differencing allows spectral models to take time steps several times longer than those of (explicit) grid-point models. This is a major advantage in terms of computational speed, which compensates, to some extent, for the expense of the spectral transform. Conservation properties and computational stability Because the spectral transform method prevents aliasing for quadratic nonlinearities, but not cubic nonlinearities, spectral models are formulated so that the highest nonlinearities that appear in the equations (other than in the physical parameterizations) are quadratic. This means that the equations must be written in advective form, rather than flux form. As a result, spectral models do not exactly conserve anything - not even mass - for a general, divergent flow.

18 ! Revised December 15, :57 PM! 18 It can be shown, however, that in the limit of two-dimensional non-divergent flow, spectral models do conserve kinetic energy and enstrophy. Because of this property, they are well behaved computationally. Nevertheless, all spectral models need some artificial diffusive damping to avoid computational instability. In contrast, it is possible to formulate finitedifference models that are very highly conservative and can run indefinitely with no artificial damping at all. Moisture advection The mixing ratio of water vapor is non-negative. We have already discussed the possibility of spurious negative mixing ratios caused by dispersion errors in finite-difference schemes, and we have also discussed the families of finite-difference advection schemes that are signpreserving and do not suffer from this problem. Spectral models have a very strong tendency to produce negative water vapor mixing ratios (e.g., Williamson and Rasch, 1994). In the global mean, the rate at which negative water is produced can be a significant fraction of the globally averaged precipitation rate. Negative water vapor mixing ratios occur not only locally on individual time steps, but even in zonal averages that have been time-averaged over a month. Because of this disastrous situation, many spectral models are now using non-spectral methods for advection (e.g. Williamson and Olson, 1994). This means that they are only partly spectral. Linear grids When non-spectral methods are used to evaluate the nonlinear advection terms, the motivation for using the high-resolution, non-aliasing grid disappears. Such models can then use a coarser linear grid, with the same number of grid points as the number of independent real coefficients in the spectral representation. This leads to a major savings in computational cost. Physical parameterizations Because most physical parameterizations are highly nonlinear, spectral models evaluate such things as convective heating rates, turbulent exchanges with the Earth s surface, and radiative transfer on their Gaussian grids. The tendencies due to these parameterizations are then applied to the prognostic variables, which are promptly transformed into wave-number space. Recall that when this transform is done, the spectral representation contains less information than is present on the grid, due to the spectral truncation used to avoid aliasing due to quadratic nonlinearities. This means that if the fields were immediately transformed back onto the grid (without any changes due, e.g., to advection), the physics would not see the fields that it had just finished with. Instead, it would see spectrally truncated versions of these fields.

19 ! Revised December 15, :57 PM! 19 For example, suppose that the physics package includes a convective adjustment that is supposed to adjust convectively unstable columns so as to remove the instability. Suppose that on a certain time step this parameterization has done its work, removing all instability as seen on the Gaussian grid. After spectral truncation, some convective instability may re-appear, even though physically nothing has happened! In effect, the spectral truncation that is inserted between the grid domain and the spectral domain prevents the physical parameterizations from doing their work properly. This is a problem for all spectral models. It is not an issue when the physics is evaluated on a linear grid that has the same number of degrees of freedom as the spectral representation. Reduced linear grids The cost of the Legendre transforms can be reduced by decreasing the numbers of grid points around latitude circles, near the poles (Hortal and Simmons, 1990). Recall that a similar idea was tried with grid point methods. The approach works with spectral methods because with high resolution the spectral coefficients corresponding to the largest values of m are very close to zero near on the poles. Summary In summary, the spectral method has both strengths and weaknesses: Strengths: Especially with triangular truncation, it eliminates the pole problem. It gives the exact phase speeds for linear waves and advection by a constant current such as solid-body rotation. It converges very rapidly, and gives good results with just a few modes. Semi-implicit time-differencing schemes are easily implemented in spectral models. Weaknesses: Spectral models do not exactly conserve anything - not even mass. Partly because of failure to conserve the mass-weighted total energy, artificial damping is needed to maintain computational stability. Spectral models have bumpy oceans. Because of truncation in the transform method, physical parameterizations do not always have the intended effect. Moisture advection does not work well in the spectral domain.

20 ! Revised December 15, :57 PM! 20 At high resolution, spectral methods are computationally expensive compared to grid point models.

21 ! Revised December 15, :57 PM! 21 Problems 1. Write subroutines to compute Fourier transforms and inverse transforms, for arbitrary complex q x j ( ). The number of waves to be included in the transform, and the number of grid points to be used in the inverse transform, should be set through the argument lists of subroutines. Let where q( x j ) = 14 cos( k 0 x j ) + 6i cos( k 1 x j ) + 5, k 0 = 2π L 0 and L 0 = X 4, (47) k 1 = 2π L 1 and L 1 = X 8. (48) Here X is the size of the periodic domain. Compute the Fourier coefficients starting from values of x j on a grid of M points, for M = 3, M = 9, M = 17, and M = 101. Discuss your results. 2. Consider a periodic step function, defined by H ( x) = 1 when the integer part of x is odd, H ( x) = +1 when the integer part of x is even. With this definition, H ( x) is discontinuous at integer points on the real line, and infinitely differentiable elsewhere. Sample H ( x) on the domain 1 x 1, using M evenly spaced points, for M = 11, M = 101, and M = 1001, and feel free to go to larger values if you like. Plot the results for 1 x 1, for each value of M. Discuss in terms of the Gibbs phenomenon. 3. For the transform method with a one-dimensional problem, many grid points would be needed to give the exact answer up to wave number n for the case of cubic nonlinearities?

Spherical Harmonics and Related Topics. David Randall 2 S = 0, r 2 r r S 2. S = r n Y n

Spherical Harmonics and Related Topics. David Randall 2 S = 0, r 2 r r S 2. S = r n Y n ! Revised April 10, 2017 1:32 PM! 1 Spherical Harmonics and Related Topics David Randall The spherical surface harmonics are convenient functions for representing the distribution of geophysical quantities

More information

Spectral transforms. Contents. ARPEGE-Climat Version 5.1. September Introduction 2

Spectral transforms. Contents. ARPEGE-Climat Version 5.1. September Introduction 2 Spectral transforms ARPEGE-Climat Version 5.1 September 2008 Contents 1 Introduction 2 2 Spectral representation 2 2.1 Spherical harmonics....................... 2 2.2 Collocation grid.........................

More information

MODEL TYPE (Adapted from COMET online NWP modules) 1. Introduction

MODEL TYPE (Adapted from COMET online NWP modules) 1. Introduction MODEL TYPE (Adapted from COMET online NWP modules) 1. Introduction Grid point and spectral models are based on the same set of primitive equations. However, each type formulates and solves the equations

More information

q t = F q x. (1) is a flux of q due to diffusion. Although very complex parameterizations for F q

q t = F q x. (1) is a flux of q due to diffusion. Although very complex parameterizations for F q ! Revised Tuesday, December 8, 015! 1 Chapter 7: Diffusion Copyright 015, David A. Randall 7.1! Introduction Diffusion is a macroscopic statistical description of microscopic advection. Here microscopic

More information

d 1 µ 2 Θ = 0. (4.1) consider first the case of m = 0 where there is no azimuthal dependence on the angle φ.

d 1 µ 2 Θ = 0. (4.1) consider first the case of m = 0 where there is no azimuthal dependence on the angle φ. 4 Legendre Functions In order to investigate the solutions of Legendre s differential equation d ( µ ) dθ ] ] + l(l + ) m dµ dµ µ Θ = 0. (4.) consider first the case of m = 0 where there is no azimuthal

More information

The spectral transform method

The spectral transform method The spectral transform method by Nils Wedi European Centre for Medium-Range Weather Forecasts wedi@ecmwf.int Advanced Numerical Methods for Earth-System Modelling Slide 1 Advanced Numerical Methods for

More information

Overview of the Numerics of the ECMWF. Atmospheric Forecast Model

Overview of the Numerics of the ECMWF. Atmospheric Forecast Model Overview of the Numerics of the Atmospheric Forecast Model M. Hortal Seminar 6 Sept 2004 Slide 1 Characteristics of the model Hydrostatic shallow-atmosphere approimation Pressure-based hybrid vertical

More information

Numerical Methods I Orthogonal Polynomials

Numerical Methods I Orthogonal Polynomials Numerical Methods I Orthogonal Polynomials Aleksandar Donev Courant Institute, NYU 1 donev@courant.nyu.edu 1 Course G63.2010.001 / G22.2420-001, Fall 2010 Nov. 4th and 11th, 2010 A. Donev (Courant Institute)

More information

Last Update: April 7, 201 0

Last Update: April 7, 201 0 M ath E S W inter Last Update: April 7, Introduction to Partial Differential Equations Disclaimer: his lecture note tries to provide an alternative approach to the material in Sections.. 5 in the textbook.

More information

MIT Weakly Nonlinear Things: Oscillators.

MIT Weakly Nonlinear Things: Oscillators. 18.385 MIT Weakly Nonlinear Things: Oscillators. Department of Mathematics Massachusetts Institute of Technology Cambridge, Massachusetts MA 02139 Abstract When nonlinearities are small there are various

More information

Connection to Laplacian in spherical coordinates (Chapter 13)

Connection to Laplacian in spherical coordinates (Chapter 13) Connection to Laplacian in spherical coordinates (Chapter 13) We might often encounter the Laplace equation and spherical coordinates might be the most convenient 2 u(r, θ, φ) = 0 We already saw in Chapter

More information

A Truncated Model for Finite Amplitude Baroclinic Waves in a Channel

A Truncated Model for Finite Amplitude Baroclinic Waves in a Channel A Truncated Model for Finite Amplitude Baroclinic Waves in a Channel Zhiming Kuang 1 Introduction To date, studies of finite amplitude baroclinic waves have been mostly numerical. The numerical models,

More information

Reynolds Averaging. Let u and v be two flow variables (which might or might not be velocity components), and suppose that. u t + x uv ( ) = S u,

Reynolds Averaging. Let u and v be two flow variables (which might or might not be velocity components), and suppose that. u t + x uv ( ) = S u, ! Revised January 23, 208 7:7 PM! Reynolds Averaging David Randall Introduction It is neither feasible nor desirable to consider in detail all of the small-scale fluctuations that occur in the atmosphere.

More information

1 Assignment 1: Nonlinear dynamics (due September

1 Assignment 1: Nonlinear dynamics (due September Assignment : Nonlinear dynamics (due September 4, 28). Consider the ordinary differential equation du/dt = cos(u). Sketch the equilibria and indicate by arrows the increase or decrease of the solutions.

More information

A Global Atmospheric Model. Joe Tribbia NCAR Turbulence Summer School July 2008

A Global Atmospheric Model. Joe Tribbia NCAR Turbulence Summer School July 2008 A Global Atmospheric Model Joe Tribbia NCAR Turbulence Summer School July 2008 Outline Broad overview of what is in a global climate/weather model of the atmosphere Spectral dynamical core Some results-climate

More information

The discrete and fast Fourier transforms

The discrete and fast Fourier transforms The discrete and fast Fourier transforms Marcel Oliver Revised April 7, 1 1 Fourier series We begin by recalling the familiar definition of the Fourier series. For a periodic function u: [, π] C, we define

More information

Elliptic Problems / Multigrid. PHY 604: Computational Methods for Physics and Astrophysics II

Elliptic Problems / Multigrid. PHY 604: Computational Methods for Physics and Astrophysics II Elliptic Problems / Multigrid Summary of Hyperbolic PDEs We looked at a simple linear and a nonlinear scalar hyperbolic PDE There is a speed associated with the change of the solution Explicit methods

More information

Internal Wave Generation and Scattering from Rough Topography

Internal Wave Generation and Scattering from Rough Topography Internal Wave Generation and Scattering from Rough Topography Kurt L. Polzin Corresponding author address: Kurt L. Polzin, MS#21 WHOI Woods Hole MA, 02543. E-mail: kpolzin@whoi.edu Abstract Several claims

More information

Complex Analysis MATH 6300 Fall 2013 Homework 4

Complex Analysis MATH 6300 Fall 2013 Homework 4 Complex Analysis MATH 6300 Fall 2013 Homework 4 Due Wednesday, December 11 at 5 PM Note that to get full credit on any problem in this class, you must solve the problems in an efficient and elegant manner,

More information

APPENDIX B. The primitive equations

APPENDIX B. The primitive equations APPENDIX B The primitive equations The physical and mathematical basis of all methods of dynamical atmospheric prediction lies in the principles of conservation of momentum, mass, and energy. Applied to

More information

Chapter 5. Shallow Water Equations. 5.1 Derivation of shallow water equations

Chapter 5. Shallow Water Equations. 5.1 Derivation of shallow water equations Chapter 5 Shallow Water Equations So far we have concentrated on the dynamics of small-scale disturbances in the atmosphere and ocean with relatively simple background flows. In these analyses we have

More information

Equations of linear stellar oscillations

Equations of linear stellar oscillations Chapter 4 Equations of linear stellar oscillations In the present chapter the equations governing small oscillations around a spherical equilibrium state are derived. The general equations were presented

More information

Lecture 10a: The Hadley Cell

Lecture 10a: The Hadley Cell Lecture 10a: The Hadley Cell Geoff Vallis; notes by Jim Thomas and Geoff J. Stanley June 27 In this short lecture we take a look at the general circulation of the atmosphere, and in particular the Hadley

More information

The Spectral Method (MAPH 40260)

The Spectral Method (MAPH 40260) The Spectral Method (MAPH 40260) Part 4: Barotropic Vorticity Equation Peter Lynch School of Mathematical Sciences Outline Background Rossby-Haurwitz Waves Interaction Coefficients Transform Method The

More information

LES of Turbulent Flows: Lecture 3

LES of Turbulent Flows: Lecture 3 LES of Turbulent Flows: Lecture 3 Dr. Jeremy A. Gibbs Department of Mechanical Engineering University of Utah Fall 2016 1 / 53 Overview 1 Website for those auditing 2 Turbulence Scales 3 Fourier transforms

More information

r 2. (5) This agrees of course with the traditional multipole way of writing it: for an axial point dipole at the coordinate origin

r 2. (5) This agrees of course with the traditional multipole way of writing it: for an axial point dipole at the coordinate origin 1. A Digression on Dipoles From the perspective of potential theory, the dipole represents the point source obtained by allowing two point charges of opposite sign to approach each other, in such a way

More information

1 (2n)! (-1)n (θ) 2n

1 (2n)! (-1)n (θ) 2n Complex Numbers and Algebra The real numbers are complete for the operations addition, subtraction, multiplication, and division, or more suggestively, for the operations of addition and multiplication

More information

196 7 atmospheric oscillations:

196 7 atmospheric oscillations: 196 7 atmospheric oscillations: 7.4 INTERNAL GRAVITY (BUOYANCY) WAVES We now consider the nature of gravity wave propagation in the atmosphere. Atmospheric gravity waves can only exist when the atmosphere

More information

A Fast Spherical Filter with Uniform Resolution

A Fast Spherical Filter with Uniform Resolution JOURNAL OF COMPUTATIONAL PHYSICS 136, 580 584 (1997) ARTICLE NO. CP975782 A Fast Spherical Filter with Uniform Resolution Rüdiger Jakob-Chien*, and Bradley K. Alpert *Department of Computer Science & Engineering,

More information

Damped harmonic motion

Damped harmonic motion Damped harmonic motion March 3, 016 Harmonic motion is studied in the presence of a damping force proportional to the velocity. The complex method is introduced, and the different cases of under-damping,

More information

Chapter 4. Nonlinear Hyperbolic Problems

Chapter 4. Nonlinear Hyperbolic Problems Chapter 4. Nonlinear Hyperbolic Problems 4.1. Introduction Reading: Durran sections 3.5-3.6. Mesinger and Arakawa (1976) Chapter 3 sections 6-7. Supplementary reading: Tannehill et al sections 4.4 and

More information

Navier-Stokes equations

Navier-Stokes equations 1 Navier-Stokes equations Introduction to spectral methods for the CSC Lunchbytes Seminar Series. Incompressible, hydrodynamic turbulence is described completely by the Navier-Stokes equations where t

More information

Relevant self-assessment exercises: [LIST SELF-ASSESSMENT EXERCISES HERE]

Relevant self-assessment exercises: [LIST SELF-ASSESSMENT EXERCISES HERE] Chapter 5 Fourier Analysis of Finite Difference Methods In this lecture, we determine the stability of PDE discretizations using Fourier analysis. First, we begin with Fourier analysis of PDE s, and then

More information

MATH 308 COURSE SUMMARY

MATH 308 COURSE SUMMARY MATH 308 COURSE SUMMARY Approximately a third of the exam cover the material from the first two midterms, that is, chapter 6 and the first six sections of chapter 7. The rest of the exam will cover the

More information

An Introduction to Numerical Modeling of the Atmosphere. David A. Randall

An Introduction to Numerical Modeling of the Atmosphere. David A. Randall An Introduction to Numerical Modeling of the Atmosphere David A. Randall Contents List of Figures List of Tables vii xiv 1 Introduction 3 1.1 What is a model?............................... 3 1. Elementary

More information

Quantum Mechanics-I Prof. Dr. S. Lakshmi Bala Department of Physics Indian Institute of Technology, Madras. Lecture - 21 Square-Integrable Functions

Quantum Mechanics-I Prof. Dr. S. Lakshmi Bala Department of Physics Indian Institute of Technology, Madras. Lecture - 21 Square-Integrable Functions Quantum Mechanics-I Prof. Dr. S. Lakshmi Bala Department of Physics Indian Institute of Technology, Madras Lecture - 21 Square-Integrable Functions (Refer Slide Time: 00:06) (Refer Slide Time: 00:14) We

More information

The Shallow Water Equations

The Shallow Water Equations If you have not already done so, you are strongly encouraged to read the companion file on the non-divergent barotropic vorticity equation, before proceeding to this shallow water case. We do not repeat

More information

A Primer on Three Vectors

A Primer on Three Vectors Michael Dine Department of Physics University of California, Santa Cruz September 2010 What makes E&M hard, more than anything else, is the problem that the electric and magnetic fields are vectors, and

More information

Model description of AGCM5 of GFD-Dennou-Club edition. SWAMP project, GFD-Dennou-Club

Model description of AGCM5 of GFD-Dennou-Club edition. SWAMP project, GFD-Dennou-Club Model description of AGCM5 of GFD-Dennou-Club edition SWAMP project, GFD-Dennou-Club Mar 01, 2006 AGCM5 of the GFD-DENNOU CLUB edition is a three-dimensional primitive system on a sphere (Swamp Project,

More information

Physics 342 Lecture 23. Radial Separation. Lecture 23. Physics 342 Quantum Mechanics I

Physics 342 Lecture 23. Radial Separation. Lecture 23. Physics 342 Quantum Mechanics I Physics 342 Lecture 23 Radial Separation Lecture 23 Physics 342 Quantum Mechanics I Friday, March 26th, 2010 We begin our spherical solutions with the simplest possible case zero potential. Aside from

More information

Chapter 13 Instability on non-parallel flow Introduction and formulation

Chapter 13 Instability on non-parallel flow Introduction and formulation Chapter 13 Instability on non-parallel flow. 13.1 Introduction and formulation We have concentrated our discussion on the instabilities of parallel, zonal flows. There is the largest amount of literature

More information

9 Rossby Waves. 9.1 Non-divergent barotropic vorticity equation. CSU ATS601 Fall (Holton Chapter 7, Vallis Chapter 5)

9 Rossby Waves. 9.1 Non-divergent barotropic vorticity equation. CSU ATS601 Fall (Holton Chapter 7, Vallis Chapter 5) 9 Rossby Waves (Holton Chapter 7, Vallis Chapter 5) 9.1 Non-divergent barotropic vorticity equation We are now at a point that we can discuss our first fundamental application of the equations of motion:

More information

1/27/2010. With this method, all filed variables are separated into. from the basic state: Assumptions 1: : the basic state variables must

1/27/2010. With this method, all filed variables are separated into. from the basic state: Assumptions 1: : the basic state variables must Lecture 5: Waves in Atmosphere Perturbation Method With this method, all filed variables are separated into two parts: (a) a basic state part and (b) a deviation from the basic state: Perturbation Method

More information

Physics 106a, Caltech 4 December, Lecture 18: Examples on Rigid Body Dynamics. Rotating rectangle. Heavy symmetric top

Physics 106a, Caltech 4 December, Lecture 18: Examples on Rigid Body Dynamics. Rotating rectangle. Heavy symmetric top Physics 106a, Caltech 4 December, 2018 Lecture 18: Examples on Rigid Body Dynamics I go through a number of examples illustrating the methods of solving rigid body dynamics. In most cases, the problem

More information

Appendix C: Recapitulation of Numerical schemes

Appendix C: Recapitulation of Numerical schemes Appendix C: Recapitulation of Numerical schemes August 31, 2009) SUMMARY: Certain numerical schemes of general use are regrouped here in order to facilitate implementations of simple models C1 The tridiagonal

More information

+ y = 1 : the polynomial

+ y = 1 : the polynomial Notes on Basic Ideas of Spherical Harmonics In the representation of wavefields (solutions of the wave equation) one of the natural considerations that arise along the lines of Huygens Principle is the

More information

Physics 221A Fall 1996 Notes 16 Bloch s Theorem and Band Structure in One Dimension

Physics 221A Fall 1996 Notes 16 Bloch s Theorem and Band Structure in One Dimension Physics 221A Fall 1996 Notes 16 Bloch s Theorem and Band Structure in One Dimension In these notes we examine Bloch s theorem and band structure in problems with periodic potentials, as a part of our survey

More information

A Method for Reducing Ill-Conditioning of Polynomial Root Finding Using a Change of Basis

A Method for Reducing Ill-Conditioning of Polynomial Root Finding Using a Change of Basis Portland State University PDXScholar University Honors Theses University Honors College 2014 A Method for Reducing Ill-Conditioning of Polynomial Root Finding Using a Change of Basis Edison Tsai Portland

More information

Physics 6303 Lecture 15 October 10, Reminder of general solution in 3-dimensional cylindrical coordinates. sinh. sin

Physics 6303 Lecture 15 October 10, Reminder of general solution in 3-dimensional cylindrical coordinates. sinh. sin Physics 6303 Lecture 15 October 10, 2018 LAST TIME: Spherical harmonics and Bessel functions Reminder of general solution in 3-dimensional cylindrical coordinates,, sin sinh cos cosh, sin sin cos cos,

More information

Separation of Variables in Linear PDE: One-Dimensional Problems

Separation of Variables in Linear PDE: One-Dimensional Problems Separation of Variables in Linear PDE: One-Dimensional Problems Now we apply the theory of Hilbert spaces to linear differential equations with partial derivatives (PDE). We start with a particular example,

More information

CHAPTER 4. THE HADLEY CIRCULATION 59 smaller than that in midlatitudes. This is illustrated in Fig. 4.2 which shows the departures from zonal symmetry

CHAPTER 4. THE HADLEY CIRCULATION 59 smaller than that in midlatitudes. This is illustrated in Fig. 4.2 which shows the departures from zonal symmetry Chapter 4 THE HADLEY CIRCULATION The early work on the mean meridional circulation of the tropics was motivated by observations of the trade winds. Halley (1686) and Hadley (1735) concluded that the trade

More information

Advanced Partial Differential Equations with Applications

Advanced Partial Differential Equations with Applications MIT OpenCourseWare http://ocw.mit.edu 8.36 Advanced Partial Differential Equations with Applications Fall 9 For information about citing these materials or our Terms of Use, visit: http://ocw.mit.edu/terms.

More information

Notes: Most of the material presented in this chapter is taken from Jackson, Chap. 2, 3, and 4, and Di Bartolo, Chap. 2. 2π nx i a. ( ) = G n.

Notes: Most of the material presented in this chapter is taken from Jackson, Chap. 2, 3, and 4, and Di Bartolo, Chap. 2. 2π nx i a. ( ) = G n. Chapter. Electrostatic II Notes: Most of the material presented in this chapter is taken from Jackson, Chap.,, and 4, and Di Bartolo, Chap... Mathematical Considerations.. The Fourier series and the Fourier

More information

Outline. The Spectral Method (MAPH 40260) Part 4: Barotropic Vorticity Equation. Outline. Background. Rossby-Haurwitz Waves.

Outline. The Spectral Method (MAPH 40260) Part 4: Barotropic Vorticity Equation. Outline. Background. Rossby-Haurwitz Waves. Outline The Spectral Method (MAPH 40260) Part 4: Barotropic Vorticity Equation Peter Lynch School of Mathematical Sciences Outline The dynamics of non-divergent flow on a rotating sphere are described

More information

Chapter 9 Implicit integration, incompressible flows

Chapter 9 Implicit integration, incompressible flows Chapter 9 Implicit integration, incompressible flows The methods we discussed so far work well for problems of hydrodynamics in which the flow speeds of interest are not orders of magnitude smaller than

More information

13 Spherical Coordinates

13 Spherical Coordinates Utah State University DigitalCommons@USU Foundations of Wave Phenomena Library Digital Monographs 8-204 3 Spherical Coordinates Charles G. Torre Department of Physics, Utah State University, Charles.Torre@usu.edu

More information

New variables in spherical geometry. David G. Dritschel. Mathematical Institute University of St Andrews.

New variables in spherical geometry. David G. Dritschel. Mathematical Institute University of St Andrews. New variables in spherical geometry David G Dritschel Mathematical Institute University of St Andrews http://www-vortexmcsst-andacuk Collaborators: Ali Mohebalhojeh (Tehran St Andrews) Jemma Shipton &

More information

Physics 110. Electricity and Magnetism. Professor Dine. Spring, Handout: Vectors and Tensors: Everything You Need to Know

Physics 110. Electricity and Magnetism. Professor Dine. Spring, Handout: Vectors and Tensors: Everything You Need to Know Physics 110. Electricity and Magnetism. Professor Dine Spring, 2008. Handout: Vectors and Tensors: Everything You Need to Know What makes E&M hard, more than anything else, is the problem that the electric

More information

CHAPTER 7 SEVERAL FORMS OF THE EQUATIONS OF MOTION

CHAPTER 7 SEVERAL FORMS OF THE EQUATIONS OF MOTION CHAPTER 7 SEVERAL FORMS OF THE EQUATIONS OF MOTION 7.1 THE NAVIER-STOKES EQUATIONS Under the assumption of a Newtonian stress-rate-of-strain constitutive equation and a linear, thermally conductive medium,

More information

Radiation in climate models.

Radiation in climate models. Lecture. Radiation in climate models. Objectives:. A hierarchy of the climate models.. Radiative and radiative-convective equilibrium.. Examples of simple energy balance models.. Radiation in the atmospheric

More information

(ii) Observational Geomagnetism. Lecture 5: Spherical harmonic field models

(ii) Observational Geomagnetism. Lecture 5: Spherical harmonic field models (ii) Observational Geomagnetism Lecture 5: Spherical harmonic field models Lecture 5: Spherical harmonic field models 5.1 Introduction 5.2 How to represent functions on a spherical surface 5.3 Spherical

More information

Physics 3312 Lecture 9 February 13, LAST TIME: Finished mirrors and aberrations, more on plane waves

Physics 3312 Lecture 9 February 13, LAST TIME: Finished mirrors and aberrations, more on plane waves Physics 331 Lecture 9 February 13, 019 LAST TIME: Finished mirrors and aberrations, more on plane waves Recall, Represents a plane wave having a propagation vector k that propagates in any direction with

More information

Introduction to Partial Differential Equations

Introduction to Partial Differential Equations Introduction to Partial Differential Equations Partial differential equations arise in a number of physical problems, such as fluid flow, heat transfer, solid mechanics and biological processes. These

More information

Lecture 2 Supplementary Notes: Derivation of the Phase Equation

Lecture 2 Supplementary Notes: Derivation of the Phase Equation Lecture 2 Supplementary Notes: Derivation of the Phase Equation Michael Cross, 25 Derivation from Amplitude Equation Near threshold the phase reduces to the phase of the complex amplitude, and the phase

More information

Computational Techniques Prof. Sreenivas Jayanthi. Department of Chemical Engineering Indian institute of Technology, Madras

Computational Techniques Prof. Sreenivas Jayanthi. Department of Chemical Engineering Indian institute of Technology, Madras Computational Techniques Prof. Sreenivas Jayanthi. Department of Chemical Engineering Indian institute of Technology, Madras Module No. # 05 Lecture No. # 24 Gauss-Jordan method L U decomposition method

More information

Vectors in Function Spaces

Vectors in Function Spaces Jim Lambers MAT 66 Spring Semester 15-16 Lecture 18 Notes These notes correspond to Section 6.3 in the text. Vectors in Function Spaces We begin with some necessary terminology. A vector space V, also

More information

Advanced. Engineering Mathematics

Advanced. Engineering Mathematics Advanced Engineering Mathematics A new edition of Further Engineering Mathematics K. A. Stroud Formerly Principal Lecturer Department of Mathematics, Coventry University with additions by Dexter j. Booth

More information

kg meter ii) Note the dimensions of ρ τ are kg 2 velocity 2 meter = 1 sec 2 We will interpret this velocity in upcoming slides.

kg meter ii) Note the dimensions of ρ τ are kg 2 velocity 2 meter = 1 sec 2 We will interpret this velocity in upcoming slides. II. Generalizing the 1-dimensional wave equation First generalize the notation. i) "q" has meant transverse deflection of the string. Replace q Ψ, where Ψ may indicate other properties of the medium that

More information

CS 450 Numerical Analysis. Chapter 8: Numerical Integration and Differentiation

CS 450 Numerical Analysis. Chapter 8: Numerical Integration and Differentiation Lecture slides based on the textbook Scientific Computing: An Introductory Survey by Michael T. Heath, copyright c 2018 by the Society for Industrial and Applied Mathematics. http://www.siam.org/books/cl80

More information

Stabilization and Acceleration of Algebraic Multigrid Method

Stabilization and Acceleration of Algebraic Multigrid Method Stabilization and Acceleration of Algebraic Multigrid Method Recursive Projection Algorithm A. Jemcov J.P. Maruszewski Fluent Inc. October 24, 2006 Outline 1 Need for Algorithm Stabilization and Acceleration

More information

COMPARISON OF FINITE DIFFERENCE- AND PSEUDOSPECTRAL METHODS FOR CONVECTIVE FLOW OVER A SPHERE

COMPARISON OF FINITE DIFFERENCE- AND PSEUDOSPECTRAL METHODS FOR CONVECTIVE FLOW OVER A SPHERE COMPARISON OF FINITE DIFFERENCE- AND PSEUDOSPECTRAL METHODS FOR CONVECTIVE FLOW OVER A SPHERE BENGT FORNBERG and DAVID MERRILL Abstract. For modeling convective flows over a sphere or within a spherical

More information

Numerical methods Revised March 2001

Numerical methods Revised March 2001 Revised March 00 By R. W. Riddaway (revised by M. Hortal) Table of contents. Some introductory ideas. Introduction. Classification of PDE's.3 Existence and uniqueness.4 Discretization.5 Convergence, consistency

More information

Lecture 9: Eigenvalues and Eigenvectors in Classical Mechanics (See Section 3.12 in Boas)

Lecture 9: Eigenvalues and Eigenvectors in Classical Mechanics (See Section 3.12 in Boas) Lecture 9: Eigenvalues and Eigenvectors in Classical Mechanics (See Section 3 in Boas) As suggested in Lecture 8 the formalism of eigenvalues/eigenvectors has many applications in physics, especially in

More information

Control Volume. Dynamics and Kinematics. Basic Conservation Laws. Lecture 1: Introduction and Review 1/24/2017

Control Volume. Dynamics and Kinematics. Basic Conservation Laws. Lecture 1: Introduction and Review 1/24/2017 Lecture 1: Introduction and Review Dynamics and Kinematics Kinematics: The term kinematics means motion. Kinematics is the study of motion without regard for the cause. Dynamics: On the other hand, dynamics

More information

Lecture 1: Introduction and Review

Lecture 1: Introduction and Review Lecture 1: Introduction and Review Review of fundamental mathematical tools Fundamental and apparent forces Dynamics and Kinematics Kinematics: The term kinematics means motion. Kinematics is the study

More information

Orbital Motion in Schwarzschild Geometry

Orbital Motion in Schwarzschild Geometry Physics 4 Lecture 29 Orbital Motion in Schwarzschild Geometry Lecture 29 Physics 4 Classical Mechanics II November 9th, 2007 We have seen, through the study of the weak field solutions of Einstein s equation

More information

23. The Finite Fourier Transform and the Fast Fourier Transform Algorithm

23. The Finite Fourier Transform and the Fast Fourier Transform Algorithm 23. The Finite Fourier Transform and the Fast Fourier Transform Algorithm 23.1 Introduction: Fourier Series Early in the Nineteenth Century, Fourier studied sound and oscillatory motion and conceived of

More information

4 Oscillations of stars: asteroseismology

4 Oscillations of stars: asteroseismology 4 Oscillations of stars: asteroseismology The HR diagram below shows a whole variety of different classes of variable or pulsating/oscillating stars. The study of these various classes constitutes the

More information

Equatorial Superrotation on Tidally Locked Exoplanets

Equatorial Superrotation on Tidally Locked Exoplanets Equatorial Superrotation on Tidally Locked Exoplanets Adam P. Showman University of Arizona Lorenzo M. Polvani Columbia University Synopsis Most 3D atmospheric circulation models of tidally locked exoplanets

More information

Waves, the Wave Equation, and Phase Velocity. We ll start with optics. The one-dimensional wave equation. What is a wave? Optional optics texts: f(x)

Waves, the Wave Equation, and Phase Velocity. We ll start with optics. The one-dimensional wave equation. What is a wave? Optional optics texts: f(x) We ll start with optics Optional optics texts: Waves, the Wave Equation, and Phase Velocity What is a wave? f(x) f(x-) f(x-) f(x-3) Eugene Hecht, Optics, 4th ed. J.F. James, A Student's Guide to Fourier

More information

Lecture 3. Turbulent fluxes and TKE budgets (Garratt, Ch 2)

Lecture 3. Turbulent fluxes and TKE budgets (Garratt, Ch 2) Lecture 3. Turbulent fluxes and TKE budgets (Garratt, Ch 2) The ABL, though turbulent, is not homogeneous, and a critical role of turbulence is transport and mixing of air properties, especially in the

More information

1 Infinite-Dimensional Vector Spaces

1 Infinite-Dimensional Vector Spaces Theoretical Physics Notes 4: Linear Operators In this installment of the notes, we move from linear operators in a finitedimensional vector space (which can be represented as matrices) to linear operators

More information

APPENDIX A. Background Mathematics. A.1 Linear Algebra. Vector algebra. Let x denote the n-dimensional column vector with components x 1 x 2.

APPENDIX A. Background Mathematics. A.1 Linear Algebra. Vector algebra. Let x denote the n-dimensional column vector with components x 1 x 2. APPENDIX A Background Mathematics A. Linear Algebra A.. Vector algebra Let x denote the n-dimensional column vector with components 0 x x 2 B C @. A x n Definition 6 (scalar product). The scalar product

More information

Solutions for the Practice Final - Math 23B, 2016

Solutions for the Practice Final - Math 23B, 2016 olutions for the Practice Final - Math B, 6 a. True. The area of a surface is given by the expression d, and since we have a parametrization φ x, y x, y, f x, y with φ, this expands as d T x T y da xy

More information

Electrodynamics Qualifier Examination

Electrodynamics Qualifier Examination Electrodynamics Qualifier Examination August 15, 2007 General Instructions: In all cases, be sure to state your system of units. Show all your work, write only on one side of the designated paper, and

More information

( u,v). For simplicity, the density is considered to be a constant, denoted by ρ 0

( u,v). For simplicity, the density is considered to be a constant, denoted by ρ 0 ! Revised Friday, April 19, 2013! 1 Inertial Stability and Instability David Randall Introduction Inertial stability and instability are relevant to the atmosphere and ocean, and also in other contexts

More information

Notes on Fourier Series and Integrals Fourier Series

Notes on Fourier Series and Integrals Fourier Series Notes on Fourier Series and Integrals Fourier Series et f(x) be a piecewise linear function on [, ] (This means that f(x) may possess a finite number of finite discontinuities on the interval). Then f(x)

More information

Computational Fluid Dynamics Prof. Dr. Suman Chakraborty Department of Mechanical Engineering Indian Institute of Technology, Kharagpur

Computational Fluid Dynamics Prof. Dr. Suman Chakraborty Department of Mechanical Engineering Indian Institute of Technology, Kharagpur Computational Fluid Dynamics Prof. Dr. Suman Chakraborty Department of Mechanical Engineering Indian Institute of Technology, Kharagpur Lecture No. #12 Fundamentals of Discretization: Finite Volume Method

More information

Differential Equations 2280 Sample Midterm Exam 3 with Solutions Exam Date: 24 April 2015 at 12:50pm

Differential Equations 2280 Sample Midterm Exam 3 with Solutions Exam Date: 24 April 2015 at 12:50pm Differential Equations 228 Sample Midterm Exam 3 with Solutions Exam Date: 24 April 25 at 2:5pm Instructions: This in-class exam is 5 minutes. No calculators, notes, tables or books. No answer check is

More information

3.4. Monotonicity of Advection Schemes

3.4. Monotonicity of Advection Schemes 3.4. Monotonicity of Advection Schemes 3.4.1. Concept of Monotonicity When numerical schemes are used to advect a monotonic function, e.g., a monotonically decreasing function of x, the numerical solutions

More information

1 Solutions in cylindrical coordinates: Bessel functions

1 Solutions in cylindrical coordinates: Bessel functions 1 Solutions in cylindrical coordinates: Bessel functions 1.1 Bessel functions Bessel functions arise as solutions of potential problems in cylindrical coordinates. Laplace s equation in cylindrical coordinates

More information

SAMPLE CHAPTERS UNESCO EOLSS WAVES IN THE OCEANS. Wolfgang Fennel Institut für Ostseeforschung Warnemünde (IOW) an der Universität Rostock,Germany

SAMPLE CHAPTERS UNESCO EOLSS WAVES IN THE OCEANS. Wolfgang Fennel Institut für Ostseeforschung Warnemünde (IOW) an der Universität Rostock,Germany WAVES IN THE OCEANS Wolfgang Fennel Institut für Ostseeforschung Warnemünde (IOW) an der Universität Rostock,Germany Keywords: Wind waves, dispersion, internal waves, inertial oscillations, inertial waves,

More information

1 + lim. n n+1. f(x) = x + 1, x 1. and we check that f is increasing, instead. Using the quotient rule, we easily find that. 1 (x + 1) 1 x (x + 1) 2 =

1 + lim. n n+1. f(x) = x + 1, x 1. and we check that f is increasing, instead. Using the quotient rule, we easily find that. 1 (x + 1) 1 x (x + 1) 2 = Chapter 5 Sequences and series 5. Sequences Definition 5. (Sequence). A sequence is a function which is defined on the set N of natural numbers. Since such a function is uniquely determined by its values

More information

3 Green s functions in 2 and 3D

3 Green s functions in 2 and 3D William J. Parnell: MT34032. Section 3: Green s functions in 2 and 3 57 3 Green s functions in 2 and 3 Unlike the one dimensional case where Green s functions can be found explicitly for a number of different

More information

The method of lines (MOL) for the diffusion equation

The method of lines (MOL) for the diffusion equation Chapter 1 The method of lines (MOL) for the diffusion equation The method of lines refers to an approximation of one or more partial differential equations with ordinary differential equations in just

More information

Comparison between Wavenumber Truncation and Horizontal Diffusion Methods in Spectral Models

Comparison between Wavenumber Truncation and Horizontal Diffusion Methods in Spectral Models 152 MONTHLY WEATHER REVIEW Comparison between Wavenumber Truncation and Horizontal Diffusion Methods in Spectral Models PETER C. CHU, XIONG-SHAN CHEN, AND CHENWU FAN Department of Oceanography, Naval Postgraduate

More information

MIT (Spring 2014)

MIT (Spring 2014) 18.311 MIT (Spring 014) Rodolfo R. Rosales May 6, 014. Problem Set # 08. Due: Last day of lectures. IMPORTANT: Turn in the regular and the special problems stapled in two SEPARATE packages. Print your

More information

You may not start to read the questions printed on the subsequent pages until instructed to do so by the Invigilator.

You may not start to read the questions printed on the subsequent pages until instructed to do so by the Invigilator. MATHEMATICAL TRIPOS Part IB Thursday 7 June 2007 9 to 12 PAPER 3 Before you begin read these instructions carefully. Each question in Section II carries twice the number of marks of each question in Section

More information

The WRF NMM Core. Zavisa Janjic Talk modified and presented by Matthew Pyle

The WRF NMM Core. Zavisa Janjic Talk modified and presented by Matthew Pyle The WRF NMM Core Zavisa Janjic (Zavisa.Janjic@noaa.gov) Talk modified and presented by Matthew Pyle (Matthew.Pyle@noaa.gov) NMM Dynamic Solver Basic Principles Equations / Variables Model Integration Horizontal

More information

Periodic functions: simple harmonic oscillator

Periodic functions: simple harmonic oscillator Periodic functions: simple harmonic oscillator Recall the simple harmonic oscillator (e.g. mass-spring system) d 2 y dt 2 + ω2 0y = 0 Solution can be written in various ways: y(t) = Ae iω 0t y(t) = A cos

More information